package com.easemob.analytics;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class EMCollector
{
  static boolean collectorEnabled = false;
  private ExecutorService threadPool = Executors.newCachedThreadPool();

  public void enableCollector(boolean paramBoolean)
  {
    collectorEnabled = paramBoolean;
  }

  public static String timeToString(long paramLong)
  {
    Date localDate = new Date(paramLong);
    SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("mm:ss:SSS");
    String str = localSimpleDateFormat.format(localDate);
    return str;
  }

  public static String getTagPrefix(String paramString)
  {
    return "[" + paramString + "]";
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     com.easemob.analytics.EMCollector
 * JD-Core Version:    0.6.1
 */